
var DBLClickTool = {

}

DBLClickTool.action = function (dataManger, mosEvnt, worldPos) {
    var pCurentGraph = dataManger.getCurentGraph();
    if (pCurentGraph != null
        && pCurentGraph.getStart() == 1
        && pCurentGraph.getUseful() == 1
        && pCurentGraph.getFinish() == 0) {
        pCurentGraph.act2Mouse(mosEvnt, worldPos);
    }
}

export default { DBLClickTool }